<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\DistributionRule
 *
 * @property int $id 自增id
 * @property int $highest_level 最高分销等级
 * @property float $first_ratio 一级分销提成比率
 * @property float $secondary_ratio 二级分销提成比率
 * @property float $three_ratio 三级分销提成比率
 * @property float $minimal_withdraw_limit 最低提现金额
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\DistributionRule onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DistributionRule whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DistributionRule whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DistributionRule whereFirstRatio($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DistributionRule whereHighestLevel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DistributionRule whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DistributionRule whereMinimalWithdrawLimit($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DistributionRule whereSecondaryRatio($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DistributionRule whereThreeRatio($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DistributionRule whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\DistributionRule withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\DistributionRule withoutTrashed()
 * @mixin \Eloquent
 */
class DistributionRule extends Model
{
    protected $table = "distribution_rule";
    use SoftDeletes;
}
